import request from '../util/request.js'
const baseUrl = "collection/"


export function isCollection(data) {
	return request.get(baseUrl + "collection", data, {
		noAuth: false,
		noVerify: true
	})
}


export function collection(data) {
	return request.get(baseUrl + "add", data, {
		noAuth: false
	})
}

export function cancelCollection(data) {
	return request.get(baseUrl + "cancel", data, {
		noAuth: false
	})
}

export function getCollerction(data) {
	return request.get(baseUrl + "list", data, {
		noAuth: false
	})
}

export function countCollerction() {
	return request.get(baseUrl + "count", {}, {
		noAuth: false
	})
}
